package com.googlecode.kipler.test.container;

import com.googlecode.kipler.container.graph.RelationalValue;

public class KeyedInteger implements RelationalValue<KeyedInteger, Integer> {
	private int value;

	public KeyedInteger(int n) {
		value = n;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	@Override
	public Integer getKey() {
		return value;
	}

	@Override
	public KeyedInteger copy() {
		return new KeyedInteger(getValue());
	}

}
